package com.yawn.restclient.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author yawn
 * @date 2018-05-06 13:59
 */
@Configuration
public class AppConfiguration {

    @Bean
    RestTemplate restTemplate() {
        return new RestTemplate();
    }
}
